﻿using SmartPlant.Model;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

namespace SmartPlant.Services.Interfaces
{
    /// <summary>
    /// 任务作业服务
    /// </summary>
    public interface ISpecDataTemplateService
    {
        /// <summary>
        /// 查询SpecDataTemplate表里的记录
        /// </summary>
        /// <param name="proId"></param>
        /// <returns></returns>
        Task<List<SpecDataTemplate>> GetListAsync(string proId, string SpecReportId);

        /// <summary>
        /// 查询SpecDataTemplate表里的记录
        /// </summary>
        /// <param name="proId"></param>
        /// <returns></returns>
        Task<List<SpecDataTemplate>> GetLisAsync(string proId, string SpecReportId, string SpecDataTemplateName);
        
    }
}
